package com.yami.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.model.AccessToken;
import com.yami.shop.bean.model.Order;
import com.yami.shop.bean.model.OrderSettlement;
import com.yami.shop.bean.pt.YxPtgl;

public interface SendMessageToUserService extends IService<AccessToken> {

    String getToken(String appid, String appsecret);

    void pushWxAdmin(Order order, OrderSettlement orderSettlement);

    void  wxProPushMessage(String touser, String accesstoken, String prepay_id, Object data);

    //向未成团用户发送订阅信息
    void pushNotSuccessPT(YxPtgl yxPtgl);

    void PushNotSuccessPTMessage(String touser, String accesstoken, Object data,YxPtgl yxPtgl);
}
